package com.ruoyi.framework.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.stereotype.Component;

/**
 * 读取 application.yml 文件中的exportdb 属性
 * @author WangChangShuo
 * @date 2022年09月20日 9:35
 */

@Component
@ConfigurationProperties(prefix="exportdb")
@ConfigurationPropertiesScan(basePackages = "com.ruoyi.framework.config")
public class ExportDbProperties {
    private String host;
    private String user;
    private String password;
    private String exportDatabaseName;
    private String exportPath;
    private String mysqlPath;
    private String exportProfilePath;
    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getExportDatabaseName() {
        return exportDatabaseName;
    }

    public void setExportDatabaseName(String exportDatabaseName) {
        this.exportDatabaseName = exportDatabaseName;
    }

    public String getExportPath() {
        return exportPath;
    }

    public void setExportPath(String exportPath) {
        this.exportPath = exportPath;
    }

    public String getMysqlPath() {
        return mysqlPath;
    }

    public void setMysqlPath(String mysqlPath) {
        this.mysqlPath = mysqlPath;
    }

    public String getExportProfilePath() {
        return exportProfilePath;
    }

    public void setExportProfilePath(String exportProfilePath) {
        this.exportProfilePath = exportProfilePath;
    }
}
